package com.digital.smartgrow.dto.business;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.digital.smartgrow.dto.PageDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @Auther sunyuechao
 * @Date 2022/8/31-08-31 16:37
 * @Description
 **/
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("up_pubilcity")
@ApiModel(value="UpPubilcity对象", description="晋升公示")
public class UpPubilcityPageDTO  extends PageDTO {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "标题")
    @TableField("title")
    private String title;

    @ApiModelProperty(value = "职评ID")
    @TableField("upJobId")
    private Integer upJobId;
    //=============
    @ApiModelProperty(value = "系列")
    private String series;

    @ApiModelProperty(value = "专业")
    private String major;

    @ApiModelProperty(value = "职务")
    private String upPost;

    @ApiModelProperty(value = "级别")
    private String upLevel;

    @ApiModelProperty(value = "学科")
    private String archives;

    @ApiModelProperty(value = "年度")
    private String year;
    //===================
    @ApiModelProperty(value = "内容")
    @TableField("content")
    private String content;

    @ApiModelProperty(value = "附件")
    @TableField("otherUrl")
    private String otherUrl;

    @ApiModelProperty(value = "公示时间")
    @TableField("beginTime")
    private String beginTime;

    @ApiModelProperty(value = "状态")
    @TableField("status")
    private Integer status;

    @ApiModelProperty(value = "备注")
    @TableField("remarks")
    private String remarks;
}
